home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hottest 6
/
Hottest 6 (1996)(PDSoft)[!].iso
/
software
/
videoutils
/
a-g
/
ami2d
/
rexx
/
pstrain.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1978-11-24
|
723b
|
33 lines
/* Ami2d init script for plane strain problems */
address ami2d
'plane'
'problem(struct)'
'set plane strain'
'set epsx=x1'
'set epsy=y2'
'set epsz=0.0'
'set gamxy=x2+y1'
'set gam12=(0.25*(epsx-epsy)^2+0.25*gamxy^2)^0.5'
'set eps1=0.5*(epsx+epsy)+gam12'
'set eps2=0.5*(epsx+epsy)-gam12'
'set eps3=0.0'
'set egsx=x1+(x1*x1+x2*x2)/2'
'set egsy=y2+(y1*y1+y2*y2)/2'
'set egsxy=(x2+y1+x1*y1+x2*y2)/2'
'set sigx=c1*x1+c5*y2+c10*gamxy-f1'
'set sigy=c5*x1+c2*y2+c9*gamxy-f2'
'set sigz=c8*x1+c6*y2+c7*gamxy-f1'
'set tauxy=c10*x1+c9*y2+c4*gamxy'
'set tau12=(0.25*(sigx-sigy)^2+tauxy^2)^0.5'
'set sig1=0.5*(sigx+sigy)+tau12'
'set sig2=0.5*(sigx+sigy)-tau12'
'set sig3=sigz'
'set sigh=(sigx+sigy+sigz)/3'
'set sigd=sig1-sigh'
exit